package cn.hdu.liang.observer.weatherobservable;

public class WeatherStation {
    public static void main(String[] args) {
        WeatherData wd = new WeatherData();
        CurrentConditionDisplay currentCD = new CurrentConditionDisplay(wd);
        ForecastDisplay fd = new ForecastDisplay(wd);
        wd.setMeasurements(80, 65, 20.4F);
        wd.setMeasurements(92, 70, 28.2F);
    }
}
